




//
//  MBCoTool.m
//  房源详情-小区详情
//
//  Created by MB__Lee on 2018/5/28.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "MBCoTool.h"
#import "MBFirstCoModel.h"

@implementation MBCoTool
+(NSMutableArray *)MBCoToolCreat_zuFangSource{
    NSMutableArray *mut = [[NSMutableArray alloc] init];
    
    //租房的 cell 名称
    NSArray *arrName = @[@"房源信息",@"经纪人",@"商铺",@"写字楼",@"找小区",@"地图找房",@"求租信息",@"委托出租"];
    NSArray *imgName = @[@"fangyuan_icon",@"jingjiren_icon",@"shangpu_icon",@"xiezilou_icon",@"zhaoxiaoqu_icon",@"dituzhaofang_icon",@"qiuzu_icon",@"weituochuzu_icon"];
    for (int i = 0; i< arrName.count; i++) {
        MBFirstCoModel *model  = [[MBFirstCoModel alloc] init];
        model.imgName = imgName[i];
        model.titleName = arrName[i];
        [mut addObject:model];
    }
    return  mut;
}
+(NSMutableArray *)MBCoToolCreat_zuWuPinSource{
    NSMutableArray *mut = [[NSMutableArray alloc] init];
    
    //租物品----的 cell 名称
    NSArray *arrName = @[@"物品",@"家具",@"办公用品",@"家电",@"租车",@"婚纱",@"数码产品",@"工具"];
    NSArray *imgName = @[@"wupin_icon",@"jiaju_icon",@"bangong_icon",@"jiadian_icon",@"zuche_icon",@"hunsha_icon",@"shuma_icon",@"gongju_icon"];
    for (int i = 0; i< arrName.count; i++) {
        MBFirstCoModel *model  = [[MBFirstCoModel alloc] init];
        model.imgName = imgName[i];
        model.titleName = arrName[i];
        [mut addObject:model];
    }
    return  mut;
    
}
+(NSMutableArray *)MBCoToolCreat_zuFuWuSource{
    NSMutableArray *mut = [[NSMutableArray alloc] init];
    //租服务-----的 cell 名称
    NSArray *arrName = @[@"服务",@"搬家",@"家政",@"育婴",@"保姆",@"代购",@"保洁",@"家政"];
    NSArray *imgName = @[@"fuwu_icon",@"banjia_icon",@"jiazheng_icon",@"yuying_icon",@"baomu_icon",@"daigou_icon",@"baojie_icon",@"jiazheng_icon"];
    for (int i = 0; i< arrName.count; i++) {
        MBFirstCoModel *model  = [[MBFirstCoModel alloc] init];
        model.imgName = imgName[i];
        model.titleName = arrName[i];
        [mut addObject:model];
    }
    return  mut;
    
}
+(NSMutableArray *)MBCoToolCreat_otherSource{
    NSMutableArray *mut = [[NSMutableArray alloc] init];
    //其他-----的 cell 名称
    NSArray *arrName = @[@"新闻",@"安全保障",@"租客之家",@"租客公益"];
    NSArray *imgName = @[@"news_icon",@"safe_icon",@"zukezhijia_icon",@"zukegongyi_icon"];
    for (int i = 0; i< arrName.count; i++) {
        MBFirstCoModel *model  = [[MBFirstCoModel alloc] init];
        model.imgName = imgName[i];
        model.titleName = arrName[i];
        [mut addObject:model];
    }
    return  mut;
}

@end
